﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Jzb.ConsoleApp
{
    public class Location
    {
        public double X { get; set; }
        public double Y { get; set; }
        public string GetValues()
        {
            return $"{this.X},{this.Y}";
        }
        public void SetX(double x)
        {
            this.X = x;
        }
        public Location(double x, double y)
        {
            this.X = x;
            this.Y = y;
        }
    }
}
